<?php /* Smarty version 2.6.18, created on 2009-11-09 09:37:43
         compiled from bao_tri_glmast.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Bao tri glmast')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="26%">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
   <tr>
    <td><?php echo $this->_tpl_vars['lbl_BRNCODE']; ?>
</td>
     <td colspan="3" style="color:#FF0000"><input name="BRNCODE" id="BRNCODE" type="text" style="background:<?php echo $this->_tpl_vars['colorBRNCODE']; ?>
" value="<?php echo $this->_tpl_vars['BRNCODE']; ?>
" size="20" maxlength="3"  onkeypress="return numberOnly2(event);" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly"<?php endif; ?>/>
       * 
       
      <input id="replacement_find" type="submit" name="find" value="    "  height="15"/></td></tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_ACCTNO']; ?>
</td>
     <td colspan="3" style="color:#FF0000">
	   <input name="ACCTNO" id="ACCTNO" type="text" style="background:<?php echo $this->_tpl_vars['colorACCTNO']; ?>
" value="<?php echo $this->_tpl_vars['ACCTNO']; ?>
" size="20" maxlength="10" onblur="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly2(event);" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly"<?php endif; ?>/> 
       *      </td>
  </tr> 
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_ACNAME']; ?>
</td>
    <td colspan="3" style="color:#FF0000"><input name="ACNAME" id="ACNAME" type="text" value="<?php echo $this->_tpl_vars['ACNAME']; ?>
" size="50" maxlength="100" style="background:<?php echo $this->_tpl_vars['colorACNAME']; ?>
" readonly="readonly"/></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_DORC']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <select name="DORC" id="DORC" size="1" style="background:<?php echo $this->_tpl_vars['colorDORC']; ?>
">
      <?php $_from = $this->_tpl_vars['cbo_DORC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['DORC']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
</option> 
	  <?php endforeach; endif; unset($_from); ?>  
      </select>
    </span></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_TYPE']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="TYPE" id="TYPE" type="text" style="background:<?php echo $this->_tpl_vars['colorTYPE']; ?>
" value="<?php echo $this->_tpl_vars['TYPE']; ?>
" size="20" maxlength="3" onblur="this.value=this.value.toUpperCase().replace(' ','');" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly"<?php endif; ?>/>
    *</span></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_CURCODE']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="CURCODE" id="CURCODE" type="text" style="background:<?php echo $this->_tpl_vars['colorCURCODE']; ?>
" value="<?php echo $this->_tpl_vars['CURCODE']; ?>
" size="20" maxlength="3" onblur="this.value=this.value.toUpperCase().replace(' ','');" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly"<?php endif; ?>/>
    *</span></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_FCYCODE']; ?>
</td>
    <td colspan="3"><input name="FCYCODE" id="FCYCODE" type="text" value="<?php echo $this->_tpl_vars['FCYCODE']; ?>
" size="15" maxlength="3" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly"<?php endif; ?> />
      <span style="color:#FF0000">*</span></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_STATUS']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <select name="STATUS" id="STATUS" size="1" style="background:<?php echo $this->_tpl_vars['colorSTATUS']; ?>
" disabled="disabled">
        <option value=""/>
        
      <?php $_from = $this->_tpl_vars['cbo_STATUS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
        
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['STATUS']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
</option>
         
	  <?php endforeach; endif; unset($_from); ?>  
      
      </select>
    </span>
	<input type="hidden" name="tmpSTATUS" value="<?php echo $this->_tpl_vars['STATUS']; ?>
" />
	</td>
  </tr>   
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onClick="activeform(this.form,'BRNCODE-ACCTNO-TYPE-CURCODE-FCYCODE-replacement_find');" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" />
    <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap"><input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
</tr>
  
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td width="22%">&nbsp;</td>
    <td width="26%">&nbsp;</td>
    <td width="26%">&nbsp;</td>
  </tr>
<tr>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td>
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3"> 
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>

</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>